var Stype = require("./Stype.js");

var game_config = {
    //网关服务
    gateway_config: {
        host: "127.0.0.1",
        ports: [6080, 6081],
    },

    //中心服务
    center_server: {
        host: "127.0.0.1",
        port: 6083,
        stypes: [Stype.Auth],
    },

    //大厅服务
    hall_server: {
        host: "127.0.0.1",
        port: 6087,
        stypes: [Stype.Hall],
    },

    //游戏服务
    game_server: {
        host: "127.0.0.1",
        port: 6088,
        stypes: [Stype.Game],
    },

    //中心数据库
    center_database: {
        host: "127.0.0.1",
        port: 3306,
        db_name: "dati",
        uname: "root",
        upwd: "1234567",
    },

    //登录服务redis
    center_redis: {
        host: "127.0.0.1",
        port: 6379,
        db_index: 0,
    },

    //游戏服务redis
    game_redis: {
        host: "127.0.0.1",
        port: 6379,
        db_index: 0,
    },

};

module.exports = game_config;